# encoding:utf-8
# user: ares at 18-9-5

import requests
from bs4 import BeautifulSoup

url='http://pm.ysstech.com:8080/index.php?m=product&f=browse&t=html&productID=17'
#lang=zh-cn; theme=default; sid=n1u9t966gfjdrapidl66g7uvb0; screenX=1440; windowWidth=1428; windowHeight=246; loginPlace=SZ; zaccount=zhaowei; rememberPW=0; keepLogin=0; zmac=1; zcpuID=1
cookie='lang=zh-cn; theme=default; sid=gb50mldlnquup12l7m9srdrne0; screenX=1440; windowWidth=1428; windowHeight=246; zaccount=zhaowei; rememberPW=1; keepLogin=1; zmac=1; zcpuID=1; loginPlace=SZ; zpassword=654321'

header={
    'User-Agent':'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0',
    'Connection':'keep-alive',
    'accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
    'Cookie':cookie,
    'Referer':'http://pm.ysstech.com:8080/index.php?m=user&f=login&referer=Lw_c_c',
    'Host':'pm.ysstech.com:8080'
}

wbdata=requests.get(url,headers=header).text
soup=BeautifulSoup(wbdata,'lxml')
print(soup)